Mention pack-type in the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2019 17:52:47 +0000 (13:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2019 17:52:47 +0000 (13:52 -0400)
docs/reference/gtk/migrating-3to4.xml

index 3e9ef096d66d087ecc685c5ec2423ffb59bb9aa4..1d19d6bca11733ef07920b349cfa2a2be4bd0a5d 100644 (file)
     </section>
 
     <section>
-      <title>Adapt to GtkHeaderBar API changes</title>
+      <title>Adapt to GtkHeaderBar and GtkActionBar API changes</title>
       <para>
         The gtk_header_bar_set_show_close_button() function has been renamed to
         the more accurate name gtk_header_bar_set_show_title_buttons(). The corresponding
         getter and the property itself have also been renamed.
       </para>
+      <para>
+        The ::pack-type child properties of GtkHeaderBar and GtkActionBar have
+        been removed. If you need to programmatically place children, use the
+        pack_start() and pack_end() APIs. In ui files, use the type attribute
+        on the child element.
+      </para>
+      <para>
+        gtk4-builder-tool can help with this conversion, with the --3to4 option
+        of the simplify command.
+      </para>
     </section>
 
     <section>